package siyuan.run.nacos.security.oauth2.mysql.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import siyuan.run.nacos.security.oauth2.mysql.model.User;

/**
 * @author: longzhonghua
 * @date: 2019/10/9
 * Description:
 */
@Repository
public interface UserRepository extends JpaRepository<User, Long> {

    User findByUsername(String username);

}